package com.spotalog.server.service.servlet;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;
import com.spotalog.server.service.rest.RestServletModule;
import com.spotalog.shared.CommonModule;

public class ServletContextListener extends GuiceServletContextListener {
	@Override
	protected Injector getInjector() {
		return Guice
				.createInjector(new CommonModule(), new RestServletModule());
	}
}
